home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 August: Tool Chest / Dev.CD Aug 95 TC / Dev.CD Aug 95 TC.toast / Sample Code / AOCE Sample Code / Interprogram Messaging Manager / IPM MessageBoard / GetAttribute.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-06-23  |  650 b   |  23 lines  |  [TEXT/MPS ]

  1. #include <OCEAuthDir.h>
  2. #include <OCEErrors.h>
  3. #include <Memory.h>
  4. #include <String.h>
  5.  
  6. #define TRUE    1
  7. #define FALSE    0
  8.  
  9. #define kBufSize    1024
  10.  
  11. typedef struct {
  12.     RecordIDPtr    rid;
  13.     AuthIdentity    identity;
  14.     } ParseInfo;
  15.  
  16. static pascal Boolean myForEachLookupRecordID (long clientData, const RecordID *recordID);
  17. static pascal Boolean myForEachAttrValue (long clientData, const Attribute *attribute);
  18. static pascal Boolean myForEachAttrTypeLookup (long clientData,
  19.     const AttributeType *attrType, AccessMask myAttrAccMask);
  20.  
  21. OSErr GetAttributeFromRID (RecordIDPtr rid, const AttributeTypePtr attrType,
  22.     AttributePtr *theAttribute, AuthIdentity identity);
  23.